<?php
namespace Api\Controller;
use Think\Controller;

class BaseController extends Controller{
	function _initialize(){
		if(!is_login()){
			$re['status'] = -1;
			$re['msg'] = '请先登录！';
			$re['info'] = '请先登录！';
			$this->ajaxReturn($re);
		}
	}
}

?>